home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Game-Power
/
Amiga Game-Power.iso
/
pd mix ii
/
access
/
thai
/
readme
< prev
next >
Wrap
Text File
|
1994-05-20
|
2KB
|
58 lines
This is a little project I was playing with involving using the Amiga
for speaking/printing Thai.
To run this program, you must install the 22 point thai font
in your fonts: directory. This can be done from the CLI using
copy df0:fonts fonts: all
[Ed note: for my library disks substitute the path
"df<X>:Thai/Fonts" for the appropriate <X> in the above
command. -Fred]
if this disk is in drive df0:
I did the project mainly to learn how to use gadgets.
As a result, I only used gadgets - no menus.
Quiz is a simple quiz program. It loads complete sentences from
the "sentences.thai" file and words from the "words.thai" file.
If you click on the sentence or word gadget the program will
pick a random sentence/word. You then click on the
Thai/Speak/Phonetic/English gadget to display that version
(or speak it). From this you are meant to guess the other forms.
By clicking right or wrong, the program can weight words (so if
you get a word wrong a lot, it will come up more often).
I dont know the best way to enter strings in Thai. I settled for
having a gadget per thai character. Entry is very slow but easy
to remember. To select the sentence or word field, first click
in that field, then all thai gadgets will go to that field.
The ADD, DELETE, REPLACE are for maintaining the dictionary files.
The dictionary files provided probably contain lots of errors.
The TRANSLATE command for words gets it right sometimes (it
turns thai characters into phonetics). For sentences, it
looks for each word in the word dictionary.
The word translate function is not perfect. It does not
understand tone marks at all which makes it almost useless.
Maybe next time (I was learning Thai as I wrote the program
and hadnt reached tone marks when I wrote it).
The search commands allow you to enter substrings which it then
scans the dictionary for. The two arrows allow forward/back movement.
For example, to look up the word for hello enter "hello" in the
english word field then press the search gadget next to it.
Clicking the arrows will cycle through all matches.
The speech stuff was a bit of fun. It does not sound very good
or accurate. Just amusing - "My computer can speak Thai!".
Quizprint is another program which prints a series of words
and sentences on the printer. I use it for testing myself.
It creates a small screen (white) at the bottom of the display.
Although the screen depth arangement characters are not visible,
they are there if you want to hide the screen.